home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat3 / atol.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  859 b   |  28 lines

  1.  
  2. ATOL(3)                    UNIX Programmer's Manual                    ATOL(3)
  3.  
  4. NNAAMMEE
  5.      aattooll - convert ASCII string to long integer
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttddlliibb..hh>>
  9.  
  10.      _l_o_n_g
  11.      aattooll(_c_o_n_s_t _c_h_a_r _*_n_p_t_r)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      The aattooll() function converts the initial portion of the string pointed to
  15.      by _n_p_t_r to _l_o_n_g _i_n_t_e_g_e_r representation.
  16.  
  17.      It is equivalent to:
  18.  
  19.            strtol(nptr, (char **)NULL, 10);
  20.  
  21. SSEEEE AALLSSOO
  22.      atof(3),  atoi(3),  strtod(3),  strtol(3),  strtoul(3)
  23.  
  24. SSTTAANNDDAARRDDSS
  25.      The aattooll() function conforms to ANSI C3.159-1989 (``ANSI C'').
  26.  
  27. BSD Experimental                 June 29, 1991                               1
  28.